<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
   <link rel="stylesheet" type="text/css" href="static/input/inputCss20160617/css/normalize.css" />
    <link rel="stylesheet" type="text/css" href="static/input/inputCss20160617/fonts/font-awesome-4.2.0/css/font-awesome.min.css" />
    <link rel="stylesheet" type="text/css" href="static/input/inputCss20160617/css/default.css">
    <link rel="stylesheet" type="text/css" href="static/input/inputCss20160617/css/set2.css" />
<style type="text/css">
table{
	width: 100%;
	border-collapse: collapse;
}
td,th{
	padding: 8px 15px;
	text-align: center;
}
th{
	background-color:#F5FFFA;
}
</style>
<table border="1" >
		<tr>
			<th>学号</th>
			<th>姓名</th>
			<th>成绩</th>
		</tr>

		<c:forEach items="${grades}" var="g">
			<tr>
				<td>${g.student.stuNo }</td>
				<td>${g.student.name }</td>
			<%-- 	<td><input type="text" value="${g.grade}" onchange="cjChange(${g.id },this.value)"></td>
			 --%>	
			<td>
					<span class="input input--makiko">
					<input class="input__field input__field--makiko" value="${g.grade}" type="text" id="input-16" onchange="cjChange(${g.id },this.value)" />
					<label class="input__label input__label--makiko" for="input-16">
						<span class="input__label-content input__label-content--makiko">...成绩</span>
					</label>
					</span>
			</td>
			</tr>
		</c:forEach>
	</table>
